#ifndef TOOL_HTTP_H
#define TOOL_HTTP_H

#include <QObject>
#include <QGeoPositionInfoSource>
#include <QGeoCoordinate>
#include <QUrl>

class Tool_http : public QObject
{
    Q_OBJECT
public:
    explicit Tool_http(QObject *parent = nullptr);
    ~Tool_http();

    Q_INVOKABLE void setRequestUrl(const QString qrres,const bool isTemporay);

signals:

private:

    QGeoPositionInfoSource *m_source=nullptr;
    QGeoCoordinate  m_position;

    void getDevicePosition();//获取位置
};

#endif // TOOL_HTTP_H
